package com.gzhryc.net_marketing.core.enums;

public enum EReceiveGoodsType {

    SysDef(1, "系统默认"),logisticsSearch(2, "物流查询"), ClientConfirm(3, "用户确认"), ManagerConfirm(4, "客服确认");

    private Integer index;
    private String note;

    EReceiveGoodsType(Integer index, String note) {
        this.index = index;
        this.note = note;
    }

    public Integer index() {
        return index;
    }

    public String note() {
        return note;
    }

    public static String note(Integer index) {
        EReceiveGoodsType[] temp = EReceiveGoodsType.values();
        for (int i = 0; i < temp.length; i++) {
            EReceiveGoodsType item = temp[i];
            if (item.index.equals(index)) {
                return item.note;
            }
        }
        return null;
    }
}
